.class Lcom/instagram/android/login/b/am;
.super Lcom/instagram/android/login/b/bg;
.source "RegisterFragment.java"


# instance fields
.field final synthetic a:Lcom/instagram/android/login/b/ah;


# direct methods
.method constructor <init>(Lcom/instagram/android/login/b/ah;)V
    .locals 1
    .parameter

    .prologue
    .line 495
    iput-object p1, p0, Lcom/instagram/android/login/b/am;->a:Lcom/instagram/android/login/b/ah;

    const/4 v0, 0x0

    invoke-direct {p0, p1, v0}, Lcom/instagram/android/login/b/bg;-><init>(Lcom/instagram/android/login/b/ah;Lcom/instagram/android/login/b/ai;)V

    return-void
.end method


# virtual methods
.method public afterTextChanged(Landroid/text/Editable;)V
    .locals 3
    .parameter "editable"

    .prologue
    const/4 v2, 0x0

    .line 498
    iget-object v0, p0, Lcom/instagram/android/login/b/am;->a:Lcom/instagram/android/login/b/ah;

    invoke-static {v0}, Lcom/instagram/android/login/b/ah;->j(Lcom/instagram/android/login/b/ah;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 499
    iget-object v0, p0, Lcom/instagram/android/login/b/am;->a:Lcom/instagram/android/login/b/ah;

    invoke-virtual {v0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->email:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 500
    invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-static {v0}, Lcom/instagram/n/i;->c(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 501
    iget-object v0, p0, Lcom/instagram/android/login/b/am;->a:Lcom/instagram/android/login/b/ah;

    invoke-static {v0, v2}, Lcom/instagram/android/login/b/ah;->e(Lcom/instagram/android/login/b/ah;Z)V

    .line 506
    :cond_0
    :goto_0
    return-void

    .line 504
    :cond_1
    iget-object v0, p0, Lcom/instagram/android/login/b/am;->a:Lcom/instagram/android/login/b/ah;

    invoke-static {v0, v2}, Lcom/instagram/android/login/b/ah;->e(Lcom/instagram/android/login/b/ah;Z)V

    goto :goto_0
.end method
